		<div id="hilight">
			<div class="cycleElementsContainer" id="slider">
				<div class="slider">
					<ul>
						<li>
							<a href="http://activity.you2play.com/archives/29282-แจกบัตรเข้างาน-you2play-awards-2014-งานประกาศผลรางวัลทางดนตรีแห่งปี" target="_blank">
								<?php echo image_asset($asset_award_upload_path.'hilight_01.jpg','',array('width' => 1156,'height' => 465));?>
							</a>
						</li>
						<li>
							<a href="http://activity.you2play.com/archives/29283-neon-circus-competition-แปลงโฉมกันให้จี๊ดด" target="_blank">
								<?php echo image_asset($asset_award_upload_path.'hilight_02.jpg','',array('width' => 1156,'height' => 465));?>
							</a>
						</li>														
					</ul>
				</div>
				<div class="navigation">
					<a href="#" class="cycleToPoint red active" data-position="1"></a>
					<a href="#" class="cycleToPoint red" data-position="2"></a>
				</div>	
			</div>		
		</div>
		<div id="vote_group">
			<ul>
				<li><a href="<?php echo $award_url.'vote#cat01';?>" target="_self">&nbsp;</a></li>
				<li><a href="<?php echo $award_url.'vote#cat02';?>" target="_self">&nbsp;</a></li>
				<li><a href="<?php echo $award_url.'vote#cat03';?>" target="_self">&nbsp;</a></li>
				<li><a href="<?php echo $award_url.'vote#cat04';?>" target="_self">&nbsp;</a></li>
				<li><a href="<?php echo $award_url.'vote#cat05';?>" target="_self">&nbsp;</a></li>
				<li><a href="<?php echo $award_url.'vote#cat06';?>" target="_self">&nbsp;</a></li>
				<li><a href="<?php echo $award_url.'vote#cat07';?>" target="_self">&nbsp;</a></li>
				<li><a href="<?php echo $award_url.'vote#cat08';?>" target="_self">&nbsp;</a></li>
				<li><a href="<?php echo $award_url.'vote#cat09';?>" target="_self">&nbsp;</a></li>
				<li><a href="<?php echo $award_url.'vote#cat10';?>" target="_self">&nbsp;</a></li>
				<li><a href="<?php echo $award_url.'vote#cat11';?>" target="_self">&nbsp;</a></li>
				<li><a href="<?php echo $award_url.'vote#cat12';?>" target="_self">&nbsp;</a></li>
			</ul>
		</div>
		<div id="category_group">
			<div class="left">
				<!--News-->
				<div class="categoryBg">
					<a class="alignCenter" href="<?php echo $award_url.'news';?>" target="_self">
						<?php echo image_asset($asset_award_upload_path.'home_news.jpg','',array('width' => 230, 'height' => 144));?>
					</a>
					<div class="newsStamp"></div>
				</div>
				<!--Video-->
				<div class="categoryBg">
					<a class="alignCenter" href="<?php echo $award_url.'video';?>" target="_self">
						<?php echo image_asset($asset_award_upload_path.'home_video.jpg','',array('width' => 230, 'height' => 144));?>
					</a>
					<div class="videoStamp"></div>
				</div>
				<!--Photo-->
				<div class="categoryBg">
					<a class="alignCenter" href="<?php echo $award_url.'photo';?>" target="_self">
						<?php echo image_asset($asset_award_upload_path.'home_photo.jpg','',array('width' => 230, 'height' => 144));?>
					</a>
					<div class="photoStamp"></div>
				</div>
				<!--Ment-->
				<div class="categoryBg">
					<div class="mentAlignCenter">
						<a href="<?php echo $award_url.'ment';?>" target="_self">
							<?php echo image_asset('award/stamp_ment.png','',array('width' => 277,'height' => 227));?>
						</a>
					</div>
				</div>												
			</div>
			<div class="right">
				<div id="categoty_hilight">
					<div id="vdoPlayer">
						<?php if($this->agent->is_mobile()):?>
							<video id='my_video' controls preload='none'></video>
						<?php endif;?>
					</div>				
				</div>
			</div>
		</div>
<script type="text/javascript" language="javascript">
(function($) {
/*whatever jQuery stuff*/
	$(function(){
		var is_mobile = '<?php echo $this->agent->is_mobile();?>';
		//Set Video Source
		var url = "<?php echo image_asset_url($asset_award_upload_path.'home.mp4');?>";		
		if(is_mobile){
			$('#my_video').append("<source id='mp4' src='"+url+"' type='video/mp4'>");
			$('#my_video').attr('src',""+url+"");
			$('#my_video').attr('width',360);
			$('#my_video').attr('height',250);
			// videoplaza sdk, 4 sec time-out, callback function
			loadScript("<?php echo js_asset_url('media/html5-sdk-1.0.12.15.1-ea.min.js');?>",4000,initVideoplaza);
			// *** START - videoplaza plugin config ***
			vpConfig = {
				vphost : 'http://th-pmdplus.videoplaza.tv',
				category : 'award',
				tags : ['standard'],
				flags: [],
				playbackPosition: [] // mid-roll cue points, if any.
			}
			// *** END - videoplaza plugin config ***
			//Auto Play && Loop
			$('#my_video').attr('autoplay','autoplay');	
		} else {	
			jwplayer("vdoPlayer").setup({
				autostart: true,
		      	flashplayer: "<?php echo js_asset_url('media/player.swf');?>",
		      	width: 360,
		      	height: 250,
				file: ""+url+"",
		      	plugins: "<?php echo js_asset_url('media/vp_plugin.swf');?>",
		      	vpdomain: "http://th-pmdplus.videoplaza.tv",
		      	vpshares: "award",
		      	vptags: "",
               	provider: "http",
        		startparam: "starttime"					
			});
		}
		//multipleElementsCycle
		$("#slider").multipleElementsCycle({
			scrollCount: 1,
			start: 0,
			jumpTo: '.cycleToPoint',
			auto: true
		});				
	});	
})(jQuery);
</script>				